﻿<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"    
    xmlns:local="clr-namespace:SL8.SL.Controls">
    <Style TargetType="local:TiledImage">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="local:TiledImage">
                    <Image HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Stretch="Fill" x:Name="FillImage" Margin="{TemplateBinding Margin}"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>
